package com.park.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

@MapperScan
@Repository
public interface ZTreeDAO {

	List<Map<Object, Object>> getByUserName(@Param("username") String username);

	List<Map<Object, Object>> getByCenterId(@Param("id") Object id);

	List<Map<Object, Object>> getByAreaId(@Param("id") Object id);

	List<Map<Object, Object>> getAllCenter();

}
